#include <stdio.h>
#include <stdlib.h>
#include<limits.h>
int main()
{
    int a=2100000000;
    int b=2000000000;
    printf("a=%i\n",a);
    printf("b=%i\n",b);
    printf("the max integer is:%i\n",INT_MAX);
    int c;
    c=(a+b)/2;
    printf("c=(a+b)/2=%i\n",c);
    int c2;
    c2=a+(b-a)/2;//some bug
    printf("c2=a+(b-a)/2=%i",c2);
    return 0;
}
